//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.kun.portal.webframe.po;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@Table(
        name = "fw_role_module"
)
@IdClass(FwRoleModulePo.class)
public class FwRoleModulePo implements Serializable {
    private static final long serialVersionUID = -4657899436016054647L;
    @Id
    @Column(
            name = "module_id",
            length = 32,
            nullable = false
    )
    private String moduleId;
    @Id
    @Column(
            name = "role_id",
            length = 32,
            nullable = false
    )
    private String roleId;

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleId() {
        return this.moduleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleId() {
        return this.roleId;
    }

    public FwRoleModulePo() {
    }

    public FwRoleModulePo(String roleId, String moduleId) {
        this.roleId = roleId;
        this.moduleId = moduleId;
    }
}
